<template>
  <el-select>
    <el-option v-for="item in gradeList" :key="item.gradeId" :label="item.gradeName" :value="item.gradeId" />
  </el-select>
</template>
<script>
import { getGrageListService } from '@/api/vip/Grade'

export default {
  data() {
    return {
      gradeList: []
    }
  },
  created() {
    this.getGrageList()
  },
  methods: {
    getGrageList() {
      getGrageListService().then(
        (ret) => {
          this.gradeList = ret.data
        }
      )
    }
  }
}
</script>
